package pe.com.cineplanet.bean;

public class User {

	private int id;
	private String login;
	private String names;
	private String lastnames;
	private Role role;
	private String email;
	private boolean active;
	private boolean cliente;
	
	public User() {
		this.cliente = true;
	}
	
	public User(int id, String names, String lastnames, Role role, String email, boolean active) {
		this.id = id;
		this.names = names;
		this.lastnames = lastnames;
		this.role = role;
		this.email = email;
		this.active = active;
		this.cliente = false;
	}

	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNames() {
		return names;
	}

	public void setNames(String names) {
		this.names = names;
	}

	public String getLastnames() {
		return lastnames;
	}

	public void setLastnames(String lastnames) {
		this.lastnames = lastnames;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}
	
	public boolean isCliente() {
		return cliente;
	}
	
	public void setCliente(boolean cliente) {
		this.cliente = cliente;
	}

	public String getLogin() {
		return login;
	}
	
	public void setLogin(String login) {
		this.login = login;
	}
	
	
}
